<!-- MAKE OR COMPANY -->
<?php
$car_make = $this->management_model->get_makes('CAR');
?>

<link rel="stylesheet" href="<?= base_url(); ?>third_party/agile_carousel/agile_carousel.css" type='text/css'>
<div class="slideshow" id="multiple_slides_visible"></div>

<script src="<?= base_url(); ?>third_party/agile_carousel/agile_carousel.alpha.js"></script>

<script>
    jQuery(function()
    {
        var data = [];
        jQuery(".carouselItem").each(function()
        {
            data.push({content:jQuery(this).html()});
        });
        $(".content").agile_carousel({
            carousel_data: data,
            carousel_outer_height: 160,
            //carousel_height: 100,
            //carousel_width: 700,
            //slide_height: 100,
            slide_width: 174,
            transition_time: 300,
            timer: 4000,
            number_slides_visible: 4,
            continuous_scrolling: true,
            no_control_set: "hover_previous_button,hover_next_button"	
        });
    });
</script>





<div class="tabs tabs_var3">
    <div class="grid_8 alpha">
        <ul class="nav">
            <li class="selected" ><a href="#car_dealer_tab">Car dealers</a> </li>
        </ul>
        <div class="clear"></div>
    </div>

    <div class="clear"></div>
    <div class="tabs_1" >
        <div id="car_dealer_tab" class="tab-content" >
            <div class="inner">
                <div id="flavor_3" class="content">
                    <?php foreach ($car_make as $car_make): ?>			
                        <div class="carouselItem"  style="border:none">
                            <div class="brand_box fleft"> <a href="#">
                                    <img src="<?= base_url(); ?>assets/images/data/car/company/<?= $car_make->image; ?>" width="106" height="73" alt=""></a><br>
                                <p class="bold color_2" style="line-height:13px"><?= $car_make->make; ?></p>
                                <p class="font_1"> Visit the site of <?= $car_make->make; ?> for more information. </p> 
                                
                            </div>
                        </div>
                    <?php endforeach; ?>
                </div>	
                <div class="clear"></div>
            </div>	
        </div>	<!-- end of car_dealer_tab -->




    </div>
</div>